<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Adding Anonymization Rules">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001839196253.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20240608">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000001839196257">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Adding Anonymization Rules</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000001839196257"></a><a name="EN-US_TOPIC_0000001839196257"></a>

<h1 class="topictitle1">Adding Anonymization Rules</h1>
<div><p>Common anonymization rules have been preset in the <span>OceanProtect</span>. If the preset anonymization rules do not meet your requirements, you can customize some rules.</p>
<p>For details about the types of anonymization rules, see <a href="en-us_topic_0000001792397156.html">Anonymization Rule Types</a>.</p>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>On the top navigation bar, choose <span><strong>Explore</strong></span> &gt; <span><strong>Data Utilization Policies</strong></span>. In the left navigation pane, click <span><strong>Anonymization Policies</strong></span>.</span></li><li><span>In the right <span><strong>Anonymization Policies</strong></span> pane, click the <span><strong>Anonymization Rules</strong></span> tab.</span></li><li><span>Click <span><strong>Add</strong></span>, and set anonymization rules as prompted.</span><p><p><a href="#EN-US_TOPIC_0000001839196257__table29452017144310">Table 1</a> provides an example of an anonymization rule.</p>

<div class="tablenoborder"><a name="EN-US_TOPIC_0000001839196257__table29452017144310"></a><a name="table29452017144310"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001839196257__table29452017144310" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Anonymization rule example</caption><colgroup><col style="width:14.27%"><col style="width:32.629999999999995%"><col style="width:15.010000000000002%"><col style="width:9.3%"><col style="width:28.78%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="14.271427142714272%" id="mcps1.3.3.2.3.2.2.2.6.1.1"><p>Anonymization Rule Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.63326332633263%" id="mcps1.3.3.2.3.2.2.2.6.1.2"><p>Parameter &amp; Example Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.011501150115011%" id="mcps1.3.3.2.3.2.2.2.6.1.3"><p>Source Data</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.3009300930093%" id="mcps1.3.3.2.3.2.2.2.6.1.4"><p>Rule Example</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.782878287828783%" id="mcps1.3.3.2.3.2.2.2.6.1.5"><p>Rule Example Description</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" rowspan="2" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Full-Mask</p>
</td>
<td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Mask Character</strong></span>: *</p>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>abcde</p>
<p></p>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>***</p>
<p></p>
</td>
<td class="cellrowborder" rowspan="2" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Uses 3-digit asterisks (*) to anonymize all source data.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p><span><strong>Mask Character Length</strong></span>: 3</p>
</td>
</tr>
<tr><td class="cellrowborder" rowspan="3" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Partial-Mask</p>
</td>
<td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Mask Character</strong></span>: *</p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>abcdefg</p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>***fg</p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Uses 3-digit asterisks (*) to anonymize the first to fifth digits of source data.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p><span><strong>Mask Character Length</strong></span>: 3</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p><span><strong>Mask Position</strong></span>: The start character is located at position 1 while the end character is located at position 5.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Numeric-Range</p>
</td>
<td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Random Number Range</strong></span>: The minimum number is 1 and the maximum number is 5.</p>
</td>
<td class="cellrowborder" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>1234567</p>
</td>
<td class="cellrowborder" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>4</p>
</td>
<td class="cellrowborder" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Replaces source data with a number ranging from 1 to 5.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Fixed-Number</p>
</td>
<td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Specified Value</strong></span>: 5</p>
</td>
<td class="cellrowborder" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>1234567</p>
</td>
<td class="cellrowborder" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>5</p>
</td>
<td class="cellrowborder" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Replaces source data with the number 5.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>Click <span><strong>OK</strong></span>.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001839196253.html">Configuring Data Anonymization</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>